<?php
return array(
	//'配置项'=>'配置值'
    'DB_TYPE'   => 'mysql',
    'DB_DSN'    => 'mysql:host=localhost;dbname=php3_shop;charset=utf8',
    'DB_USER'   => 'root',
    'DB_PWD'    => '',
    'DB_POST'   => '3306',
    'DB_PREFIX' => 'php3_', //数据库表前缀
//    'DB_HOST'   => 'localhost',
//    'DB_NAME'   => 'php3_shop',
//    'DB_CHARSET'=> 'utf8',
    'DEFAULT_FILTER' => 'trim,htmlspecialchars', //默认参数过滤的方法

    //图片相关的配置
    'IMAGE_CONFIG' => array(
        'maxSize' => 1024*1024,
        'exts' => array('jpg','gif','png','jpeg'),
        'rootPath' => './Public/Uploads/',
        'viewPath' => 'http://www.shop.com/Public/Uploads/',
    ),

    'LAYOUT_ON'             =>  true, // 是否启用布局
    'LAYOUT_NAME'           =>  'layout', // 当前布局名称 默认为layout
);